package com.heqiang.constant;

import java.util.ResourceBundle;
//常量类
public class Constant {
    public static ResourceBundle rb = ResourceBundle.getBundle("application");

    //通用状态码
    public interface SELECT {
        Byte YES = 1;
        Byte NO = 0;
    }

    public static String LOGIN_ADMIN = "ADMIN";//存入session的当前登陆对象

    public interface FEIGN_AUTH {
        String HEADER_KEY = "FEIGN-AUTH-YZ";
    }

    public interface SUPER_MANAGER {
        String ACCOUNT = rb.getString("account");
        String PASSWORD = rb.getString("password");
    }

}
